using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Xml.Serialization;

namespace NCP.Model
{
    [Serializable]
    [SugarTable("PatientInfo")]
    public partial class PatientInfo : BaseModel2
    {
   
        /// <summary>
        /// 住院号 院内唯一
        /// </summary>
        [SugarColumn(ColumnName = "InpatientNo")]
        public string InpatientNo {get; set;} 
            
        /// <summary>
        /// 住院次数
        /// </summary>
        [SugarColumn(ColumnName = "Intimes")]
        public int Intimes {get; set;} 
            
        /// <summary>
        /// 科室编码
        /// </summary>
        [SugarColumn(ColumnName = "DeptCode")]
        public string DeptCode {get; set;} 
            
        /// <summary>
        /// 科室名称
        /// </summary>
        [SugarColumn(ColumnName = "DeptName")]
        public string DeptName {get; set;} 
            
        /// <summary>
        /// 患者姓名
        /// </summary>
        [SugarColumn(ColumnName = "PatientName")]
        public string PatientName {get; set;} 
            
        /// <summary>
        /// 床号
        /// </summary>
        [SugarColumn(ColumnName = "BedNo")]
        public string BedNo {get; set;} 
            
        /// <summary>
        /// 性别 1男2女
        /// </summary>
        [SugarColumn(ColumnName = "SexCode")]
        public string SexCode {get; set;} 
            
        /// <summary>
        /// 在院状态 1在院2除了在院以外
        /// </summary>
        [SugarColumn(ColumnName = "Status")]
        public string Status {get; set;} 
            
        /// <summary>
        /// 出生日期
        /// </summary>
        [SugarColumn(ColumnName = "Birthday")]
        public DateTime Birthday {get; set;} 
            
        /// <summary>
        /// 入院日期
        /// </summary>
        [SugarColumn(ColumnName = "InDate")]
        public DateTime InDate {get; set;} 
            
        /// <summary>
        /// 操作时间 最后更新时间
        /// </summary>
        [SugarColumn(ColumnName = "OperDate")]
        public DateTime OperDate {get; set;} 
            
    }
}